package com.zzyl.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "NursingProject", description = "护理项目")
@Builder
public class NursingProject implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号", example = "1")
    private Long id;

    @ApiModelProperty(value = "名称", example = "护理项目A", required = true)
    private String name;

    @ApiModelProperty(value = "排序号", example = "10")

    private Integer orderNo;

    @ApiModelProperty(value = "单位", example = "个/次")

    private String unit;

    @ApiModelProperty(value = "价格", example = "100.00")

    private BigDecimal price;

    @ApiModelProperty(value = "图片URL", example = "http://example.com/image.jpg")
    private String image;

    @ApiModelProperty(value = "护理要求", example = "每日护理一次")
    private String nursingRequirement;

    @ApiModelProperty(value = "状态（0：禁用，1：启用）", example = "1", allowableValues = "0, 1")
    private Integer status = 1;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "更新人")
    private String updateBy;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}
